package net.hn.hnms.biz.steelyard.service;

import net.hn.hnms.biz.steelyard.request.SteelyardHistoryReq;
import net.hn.hnms.biz.steelyard.vo.SteelyardHistoryVO;
import net.hn.hnms.biz.steelyard.vo.SteelyardNowVO;
import net.hn.hnms.biz.steelyard.vo.SteelyardStatisticsVO;
import net.hn.hnms.sys.common.core.domain.ResponsePage;
import net.hn.hnms.sys.common.mybatis.core.page.PageQuery;

import java.util.Date;
import java.util.List;

/**
 * @author ly
 * 发运流水表服务层
 * @date 2022-08-30
 */
public interface ISteelyardService {
    ResponsePage<SteelyardNowVO> now(PageQuery pageQuery, String mineCode);

    Double nowLink(String mineCode);

    Double maxForYearLink(String mineCode);

    ResponsePage<SteelyardHistoryVO> history(SteelyardHistoryReq req, PageQuery pageQuery);

    List<SteelyardStatisticsVO> pieChart(Date dateTime, String mineCode);

    List<SteelyardStatisticsVO> columnChart(Date dateTime,String mineCode);
}
